package com.jack.exception;

import com.jack.enums.ResultEnum;

public class SellException extends RuntimeException {

	private Integer code;
	
	public SellException(ResultEnum resultEnum) {
		super(resultEnum.getMsg());
		this.code = resultEnum.getCode();
	}
}
